package com.rp.dao.remote;

import java.sql.ResultSet;
import java.sql.Statement;

public abstract class AbstractDB {
    protected Statement preparedStatement = null;
    protected ResultSet resultSet = null;

    // You need to close the resultSet
    public void close() {
	try {
	    if (resultSet != null) {
		resultSet.close();
	    }
	    if (preparedStatement != null) {
		preparedStatement.close();
	    }
	} catch (Exception e) {

	}
    }

}
